/*******************************************************************************
 *
 * Copyright (c) 2001-2006 Primeton Technologies, Ltd.
 * All rights reserved.
 *
 * Created on Apr 11, 2008
 *******************************************************************************/
package com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl;

import com.primeton.ext.data.sdo.DataUtil;
import com.primeton.ext.data.sdo.ExtendedDataObjectImpl;
import com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.ZhmyProject;
import com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.ZhmySchedule;

import commonj.sdo.Type;

import java.util.Date;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Test</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleId <em>ScheduleId</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleHead <em>ScheduleHead</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getSchedultMember <em>SchedultMember</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleOthers <em>ScheduleOthers</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleStatus <em>ScheduleStatus</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleCtime <em>ScheduleCtime</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getScheduleUtime <em>ScheduleUtime</em>}</li>
 *   <li>{@link com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.impl.ZhmyScheduleImpl#getZhmyProject <em>ZhmyProject</em>}</li>
 * </ul>
 * </p>
 *
 * @extends ExtendedDataObjectImpl;
 *
 * @implements ZhmySchedule;
 */

public class ZhmyScheduleImpl extends ExtendedDataObjectImpl implements ZhmySchedule {
	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	public final static int INDEX_SCHEDULEID = 0;
	public final static int INDEX_SCHEDULEHEAD = 1;
	public final static int INDEX_SCHEDULTMEMBER = 2;
	public final static int INDEX_SCHEDULEOTHERS = 3;
	public final static int INDEX_SCHEDULESTATUS = 4;
	public final static int INDEX_SCHEDULECTIME = 5;
	public final static int INDEX_SCHEDULEUTIME = 6;
	public final static int INDEX_ZHMYPROJECT = 7;
	public static final int SDO_PROPERTY_COUNT = 8;

	public static final int EXTENDED_PROPERTY_COUNT = -1;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public ZhmyScheduleImpl() {
		this(TYPE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public ZhmyScheduleImpl(Type type) {
		super(type);
	}

	protected void validate() {
		validateType(TYPE);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleId</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleId</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleId</em>' attribute.
	 * @see #setScheduleId(long)
	 */
	public long getScheduleId() {
		return DataUtil.toLong(super.getByIndex(INDEX_SCHEDULEID, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleId <em>ScheduleId</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleId</em>' attribute.
	 * @see #getScheduleId()
	 */
	public void setScheduleId(long scheduleId) {
		super.setByIndex(INDEX_SCHEDULEID, scheduleId);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleHead</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleHead</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleHead</em>' attribute.
	 * @see #setScheduleHead(java.lang.String)
	 */
	public String getScheduleHead() {
		return DataUtil.toString(super.getByIndex(INDEX_SCHEDULEHEAD, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleHead <em>ScheduleHead</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleHead</em>' attribute.
	 * @see #getScheduleHead()
	 */
	public void setScheduleHead(String scheduleHead) {
		super.setByIndex(INDEX_SCHEDULEHEAD, scheduleHead);
	}

	/**
	 * Returns the value of the '<em><b>SchedultMember</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>SchedultMember</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>SchedultMember</em>' attribute.
	 * @see #setSchedultMember(java.lang.String)
	 */
	public String getSchedultMember() {
		return DataUtil.toString(super.getByIndex(INDEX_SCHEDULTMEMBER, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getSchedultMember <em>SchedultMember</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>SchedultMember</em>' attribute.
	 * @see #getSchedultMember()
	 */
	public void setSchedultMember(String schedultMember) {
		super.setByIndex(INDEX_SCHEDULTMEMBER, schedultMember);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleOthers</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleOthers</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleOthers</em>' attribute.
	 * @see #setScheduleOthers(java.lang.String)
	 */
	public String getScheduleOthers() {
		return DataUtil.toString(super.getByIndex(INDEX_SCHEDULEOTHERS, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleOthers <em>ScheduleOthers</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleOthers</em>' attribute.
	 * @see #getScheduleOthers()
	 */
	public void setScheduleOthers(String scheduleOthers) {
		super.setByIndex(INDEX_SCHEDULEOTHERS, scheduleOthers);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleStatus</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleStatus</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleStatus</em>' attribute.
	 * @see #setScheduleStatus(int)
	 */
	public int getScheduleStatus() {
		return DataUtil.toInt(super.getByIndex(INDEX_SCHEDULESTATUS, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleStatus <em>ScheduleStatus</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleStatus</em>' attribute.
	 * @see #getScheduleStatus()
	 */
	public void setScheduleStatus(int scheduleStatus) {
		super.setByIndex(INDEX_SCHEDULESTATUS, scheduleStatus);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleCtime</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleCtime</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleCtime</em>' attribute.
	 * @see #setScheduleCtime(java.util.Date)
	 */
	public Date getScheduleCtime() {
		return DataUtil.toDate(super.getByIndex(INDEX_SCHEDULECTIME, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleCtime <em>ScheduleCtime</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleCtime</em>' attribute.
	 * @see #getScheduleCtime()
	 */
	public void setScheduleCtime(Date scheduleCtime) {
		super.setByIndex(INDEX_SCHEDULECTIME, scheduleCtime);
	}

	/**
	 * Returns the value of the '<em><b>ScheduleUtime</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ScheduleUtime</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ScheduleUtime</em>' attribute.
	 * @see #setScheduleUtime(java.util.Date)
	 */
	public Date getScheduleUtime() {
		return DataUtil.toDate(super.getByIndex(INDEX_SCHEDULEUTIME, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getScheduleUtime <em>ScheduleUtime</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ScheduleUtime</em>' attribute.
	 * @see #getScheduleUtime()
	 */
	public void setScheduleUtime(Date scheduleUtime) {
		super.setByIndex(INDEX_SCHEDULEUTIME, scheduleUtime);
	}

	/**
	 * Returns the value of the '<em><b>ZhmyProject</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>ZhmyProject</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>ZhmyProject</em>' attribute.
	 * @see #setZhmyProject(com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.ZhmyProject)
	 */
	public ZhmyProject getZhmyProject() {
		return (ZhmyProject) DataUtil.toDataObject(super.getByIndex(INDEX_ZHMYPROJECT, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getZhmyProject <em>ZhmyProject</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>ZhmyProject</em>' attribute.
	 * @see #getZhmyProject()
	 */
	public void setZhmyProject(ZhmyProject zhmyProject) {
		super.setByIndex(INDEX_ZHMYPROJECT, zhmyProject);
	}


}